package entity.controller;

public class BaseException extends RuntimeException {
	private static final long	serialVersionUID	= -7940004340615292936L;
	
	private final String		code;
	
	public BaseException(String code) {
		super();
		this.code = code;
	}
	
	public BaseException(Throwable cause, String code) {
		super(cause);
		this.code = code;
	}
	
	public BaseException(String message, Throwable cause, String code) {
		super(message, cause);
		this.code = code;
	}
	
	public String getCode() {
		return code;
	}
}
